# -*- coding: utf-8 -*-

from flask_restplus import Namespace, fields

dummy_ns = Namespace(
    'dummy',
    description='Dummy API',
)


base_wechat_user = dummy_ns.model(
    'BaseWechatUser',
    {
        'id': fields.Integer(attribute='id_'),
        # 'openid': fields.String,
        # 'unionid': fields.String,
        'nickname': fields.String,
        'avatar': fields.String,
        'gender': fields.Integer,
        'city': fields.String,
        'province': fields.String,
        'country': fields.String,
        'language': fields.String,
        'mobile': fields.String,
    }
)
